using System;
using System.Collections;
using System.Collections.Generic;

using ImPM.Data.Base;

namespace ImPM.Data.BusinessObjects
{
    public partial class Calendar : BusinessBase<int>
    {
        #region Declarations

		
		private string _calendarName = String.Empty;
		
		
		
        #endregion

        #region Constructors

        public Calendar() { }

        #endregion

        #region Methods

        public override int GetHashCode()
        {
            System.Text.StringBuilder sb = new System.Text.StringBuilder();
            
            sb.Append(this.GetType().FullName);
			sb.Append(_calendarName);

            return sb.ToString().GetHashCode();
        }

        #endregion

        #region Properties

		public virtual string CalendarName
        {
            get { return _calendarName; }
			set
			{
				OnCalendarNameChanging();
				_calendarName = value;
				OnCalendarNameChanged();
			}
        }
		partial void OnCalendarNameChanging();
		partial void OnCalendarNameChanged();
		
        #endregion
    }
}
